import schedule
import time

def beep():
    print("Beep!")

schedule.every(1).seconds.do(beep)

while True:
    schedule.run_pending()
    time.sleep(1)
